package cz.proks.simplecalendarmanager.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import cz.proks.simplecalendarmanager.client.exception.NoAccessException;
import cz.proks.simplecalendarmanager.client.exception.UserNotLoggedException;
import cz.proks.simplecalendarmanager.shared.ClientConstants;

@RemoteServiceRelativePath("oauth")
public interface OAuthService extends RemoteService{
	void checkAccess(ClientConstants.AppScope scope) throws UserNotLoggedException, NoAccessException;
}
